<template>
    <mu-paper class="paperz" :zDepth="2">
        <el-table
                :data="tableData"
                @selection-change="handleSelectionChange"
                style="width: 100%;">
            <el-table-column
                    type="selection"
                    width="40">
            </el-table-column>
            <el-table-column
                    prop=""
                    label="序号"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="链接"
                    width="110"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="店铺"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="产品名称"
                    width="80">
            </el-table-column>

            <el-table-column
                    prop=""
                    label="分组"
                    width="80">
            </el-table-column>

            <el-table-column
                    prop=""
                    label="操作员"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="运营专员"
                    width="90"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="总操纵单数"
                    width="90"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="日操纵本金"
                    width="90"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="月总操纵本金"
                    width="120"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="淘宝销售额"
                    width="100"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="毛利"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="日毛利"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="日净利"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="净利润"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="佣金数"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="本金数"
                    width="80"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="总操纵佣金"
                    width="100"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="首次发布时间"
                    width="120"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="理论关键词"
                    width="120"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="今日派单数"
                    width="120"
            >
            </el-table-column>
            <el-table-column
                    prop=""
                    label="等待完成的订单数"
                    width="140"
            >
            </el-table-column>
        </el-table>
        
        <el-pagination
                :page-size="20"
                :current-page="searchList.pn"
                layout="prev, pager, next"
                :total="searchList.total"
                @current-change="pnChange"
                v-if="searchList.total > 20"
        >
        </el-pagination>

    </mu-paper>
</template>
<script>

    export default {
        data() {
            return {
                taskInfoListTemp: {},
                tableData: [],
                value: '',
                
                
                searchList: {
                    search: "user",
                    searchValue: "",
                    filter: {
                        status: "",
                    },
                    pn: 1,
                    total: 0,
                },
                multipleSelection: [],
            }
        },
        methods: {
            getTaskInfoList() {
                let _this = this;
                _this.$http
                    .post("/api/api.php", {
                        id: "getTaskInfoList",
                        search: JSON.stringify(_this.searchList)
                    })
                    .then(function (response) {
                        _this.tableData = response.data.data;
                        _this.searchList.total = parseInt(response.data.total);
                    });
            },
            handleSelectionChange(val) {
                //this.multipleSelection = val;
            }
        },
        mounted() {
            //this.getTaskInfoList();
        }
    }
</script>
<style scoped>
    .paperz {
        height: 90%;
        padding: 15px;
    }

    .demo-table-expand {
        font-size: 0;
        margin-left: 50px;
    }

    .demo-table-expand label {
        width: 90px;
        color: #99a9bf;
    }

    .demo-table-expand .el-form-item {
        margin-right: 0;
        margin-bottom: 0;
        width: 50%;
    }

    .dedleteUserDialog {
        width: 980px;
    }
</style>